Optimal. Leaf size=133 \[ \frac {(m+1) x^{m+1} \log (x) e^{\frac {a n \sqrt {-\frac {(m+1)^2}{n^2}}}{m+1}} \left (c x^n\right )^{-\frac {m+1}{n}}}{2 n \sqrt {-\frac {(m+1)^2}{n^2}}}-\frac {x^{m+1} e^{\frac {a (m+1)}{n \sqrt {-\frac {(m+1)^2}{n^2}}}} \left (c x^n\right )^{\frac {m+1}{n}}}{4 n \sqrt {-\frac {(m+1)^2}{n^2}}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.28, antiderivative size = 133, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 2, integrand size = 28, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.071, Rules used = {4493, 4489} \[ \frac {(m+1) x^{m+1} \log (x) e^{\frac {a n \sqrt {-\frac {(m+1)^2}{n^2}}}{m+1}} \left (c x^n\right )^{-\frac {m+1}{n}}}{2 n \sqrt {-\frac {(m+1)^2}{n^2}}}-\frac {x^{m+1} e^{\frac {a (m+1)}{n \sqrt {-\frac {(m+1)^2}{n^2}}}} \left (c x^n\right )^{\frac {m+1}{n}}}{4 n \sqrt {-\frac {(m+1)^2}{n^2}}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 4489
Rule 4493
Rubi steps
\begin {align*} \int x^m \sin \left (a+\sqrt {-\frac {(1+m)^2}{n^2}} \log \left (c x^n\right )\right ) \, dx &=\frac {\left (x^{1+m} \left (c x^n\right )^{-\frac {1+m}{n}}\right ) \operatorname {Subst}\left (\int x^{-1+\frac {1+m}{n}} \sin \left (a+\sqrt {-\frac {(1+m)^2}{n^2}} \log (x)\right ) \, dx,x,c x^n\right )}{n}\\ &=\frac {\left ((1+m) x^{1+m} \left (c x^n\right )^{-\frac {1+m}{n}}\right ) \operatorname {Subst}\left (\int \left (\frac {e^{\frac {a \sqrt {-\frac {(1+m)^2}{n^2}} n}{1+m}}}{x}-e^{\frac {a (1+m)}{\sqrt {-\frac {(1+m)^2}{n^2}} n}} x^{-1+\frac {2 (1+m)}{n}}\right ) \, dx,x,c x^n\right )}{2 \sqrt {-\frac {(1+m)^2}{n^2}} n^2}\\ &=-\frac {e^{\frac {a (1+m)}{\sqrt {-\frac {(1+m)^2}{n^2}} n}} x^{1+m} \left (c x^n\right )^{\frac {1+m}{n}}}{4 \sqrt {-\frac {(1+m)^2}{n^2}} n}+\frac {e^{\frac {a \sqrt {-\frac {(1+m)^2}{n^2}} n}{1+m}} (1+m) x^{1+m} \left (c x^n\right )^{-\frac {1+m}{n}} \log (x)}{2 \sqrt {-\frac {(1+m)^2}{n^2}} n}\\ \end {align*}
________________________________________________________________________________________
Mathematica [F] time = 0.36, size = 0, normalized size = 0.00 \[ \int x^m \sin \left (a+\sqrt {-\frac {(1+m)^2}{n^2}} \log \left (c x^n\right )\right ) \, dx \]
Verification is Not applicable to the result.
[In]
[Out]
________________________________________________________________________________________
fricas [C] time = 0.76, size = 62, normalized size = 0.47 \[ \frac {{\left (i \, x^{2} x^{2 \, m} + {\left (-2 i \, m - 2 i\right )} e^{\left (\frac {2 \, {\left (i \, a n - {\left (m + 1\right )} \log \relax (c)\right )}}{n}\right )} \log \relax (x)\right )} e^{\left (-\frac {i \, a n - {\left (m + 1\right )} \log \relax (c)}{n}\right )}}{4 \, {\left (m + 1\right )}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [C] time = 2.08, size = 272, normalized size = 2.05 \[ \frac {-i \, m n^{2} x x^{m} e^{\left (i \, a - \frac {n {\left | m n + n \right |} \log \relax (x) + {\left | m n + n \right |} \log \relax (c)}{n^{2}}\right )} + i \, m n^{2} x x^{m} e^{\left (-i \, a + \frac {n {\left | m n + n \right |} \log \relax (x) + {\left | m n + n \right |} \log \relax (c)}{n^{2}}\right )} - i \, n^{2} x x^{m} e^{\left (i \, a - \frac {n {\left | m n + n \right |} \log \relax (x) + {\left | m n + n \right |} \log \relax (c)}{n^{2}}\right )} - i \, n x x^{m} {\left | m n + n \right |} e^{\left (i \, a - \frac {n {\left | m n + n \right |} \log \relax (x) + {\left | m n + n \right |} \log \relax (c)}{n^{2}}\right )} + i \, n^{2} x x^{m} e^{\left (-i \, a + \frac {n {\left | m n + n \right |} \log \relax (x) + {\left | m n + n \right |} \log \relax (c)}{n^{2}}\right )} - i \, n x x^{m} {\left | m n + n \right |} e^{\left (-i \, a + \frac {n {\left | m n + n \right |} \log \relax (x) + {\left | m n + n \right |} \log \relax (c)}{n^{2}}\right )}}{2 \, {\left (m^{2} n^{2} + 2 \, m n^{2} - {\left (m n + n\right )}^{2} + n^{2}\right )}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [F] time = 0.04, size = 0, normalized size = 0.00 \[ \int x^{m} \sin \left (a +\ln \left (c \,x^{n}\right ) \sqrt {-\frac {\left (1+m \right )^{2}}{n^{2}}}\right )\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.39, size = 82, normalized size = 0.62 \[ \frac {c^{\frac {2 \, m}{n} + \frac {2}{n}} x e^{\left (m \log \relax (x) + \frac {m \log \left (x^{n}\right )}{n} + \frac {\log \left (x^{n}\right )}{n}\right )} \sin \relax (a) + 2 \, {\left (m \sin \relax (a) + \sin \relax (a)\right )} \log \relax (x)}{4 \, {\left (c^{\frac {m}{n} + \frac {1}{n}} m + c^{\frac {m}{n} + \frac {1}{n}}\right )}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 3.94, size = 135, normalized size = 1.02 \[ \frac {x\,x^m\,{\mathrm {e}}^{-a\,1{}\mathrm {i}}\,\frac {1}{{\left (c\,x^n\right )}^{\sqrt {-\frac {2\,m}{n^2}-\frac {1}{n^2}-\frac {m^2}{n^2}}\,1{}\mathrm {i}}}\,1{}\mathrm {i}}{2\,m+2-n\,\sqrt {-\frac {{\left (m+1\right )}^2}{n^2}}\,2{}\mathrm {i}}-\frac {x\,x^m\,{\mathrm {e}}^{a\,1{}\mathrm {i}}\,{\left (c\,x^n\right )}^{\sqrt {-\frac {2\,m}{n^2}-\frac {1}{n^2}-\frac {m^2}{n^2}}\,1{}\mathrm {i}}\,1{}\mathrm {i}}{2\,m+2+n\,\sqrt {-\frac {{\left (m+1\right )}^2}{n^2}}\,2{}\mathrm {i}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int x^{m} \sin {\left (a + \sqrt {- \frac {m^{2}}{n^{2}} - \frac {2 m}{n^{2}} - \frac {1}{n^{2}}} \log {\left (c x^{n} \right )} \right )}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________